import 'package:get/get.dart';

import '../pages/home_page/home_page_binding.dart';
import '../pages/home_page/home_page_view.dart';
import '../pages/launch/launch_binding.dart';
import '../pages/launch/launch_view.dart';
import 'app_routes.dart';

class AppPages {
  static const INITIAL = Routes.LAUNCH;

  static final List<GetPage> getAllRoutS = [
    ..._homeRouteS(),
  ];

  ///首页界面
  static List<GetPage> _homeRouteS() {
    return [
      GetPage(
          name: Routes.LAUNCH,
          binding: LaunchBinding(),
          page: () => const LaunchPage()),
      GetPage(
          name: Routes.HOME,
          binding: HomePageBinding(),
          page: () => const HomePagePage()),
    ];
  }
}